<script>

</script>
<!--table部分-->
<div class='col-md-12' style='padding-top:10px'>

    <div class="panel panel-default">
      <div class="panel-body">
        基本参数：（1）最短送料间隔时间(分)：20；送料间隔安全比：1.5；每次送货最大帕数：1；生产计划确定最晚时间(分)：150；切换项目号物料提前时间(分)：30；<a class='btn btn-success btn-sm' id='changepara'>更改参数</a>
      </div>
    </div>

	  <div class="page-header">
      <h1><small>联合利华合肥厂区YG厂&nbsp;&nbsp;主操：xxx&nbsp;&nbsp;日期：2016.12.08</small></h1>
    </div>
    <div style='padding-bottom:20px'>
    <div class='col-md-1'><a class='btn btn-info'>导入</a></div>
    <div class='col-md-1'><a class='btn btn-success'>添加</a></div>
    <div class='col-md-1'><a class='btn btn-warning'>修改</a></div>
    <div class='clearfix'></div>
    </div>
    <table class='table table-hover table-striped table-bordered' id='NBtb'>
        <thead>
            <tr style="background-color: #337ab7;color:#fff">
                <th>项目号</th>
                <th>产品名称</th>
                <th>规格</th>
                <th>计划量(T)</th>
                <th>计划总量(箱)</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            
            <tr>
                <td>67106052</td>
                <td>CUC 清扬去屑洗发露多效水润养护型</td>
                <td></td>
                <td></td>
                <td></td>
                <td>
                <?php if($atho['athv']){ ?><a class='btn btn-success btn-sm' href="__URL__/view/id/<?php echo $mv[$lowmdmk.'id'] ?>">确定</a><?php } ?>
                <?php if($atho['athm']){ ?><a class='btn btn-warning btn-sm' href="__URL__/update/id/<?php echo $mv[$lowmdmk.'id'] ?>">加配</a><?php } ?>
                <?php if($atho['athd']){ ?><a class='btn btn-danger btn-sm' onclick="dlt(<?php echo $mv[$lowmdmk.'id'] ?>)" >完成</a><?php } ?>
                </td>
            </tr>
            <tr>
                <td colspan="6">
                总瓶数10000；已配送：2000；已生产1000；<br>
                配送进度：20%<div class="progress">
                  <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                    <span class="sr-only">20% Complete (warning)</span>
                  </div>
                </div>
                生产进度：10%<div class="progress">
                  <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 10%">
                    <span class="sr-only">10% Complete</span>
                  </div>
                </div>
                </td>
            </tr>
            
            
        </tbody>
    </table>

    

    
    
    
</div>



<!--#################-->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal_canshushezhi" style='display: none' id='canshushezhi'>
  Launch demo modal
</button>

<!-- Modal -->
<div class="modal" id="myModal_canshushezhi" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog" style='padding-top:100px'>
    <div class="modal-content">
      <div class="modal-header">
      <button type="button" class="close close_canshushezhi" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">参数设置</h4>
    </div>
      <div class="modal-body">
        <form>
          <div class="form-group">
            <label for="exampleInputEmail1">最短送料间隔时间(分):</label>
            <input type="email" class="form-control" id="exampleInputEmail1" placeholder="请输入时间">
          </div>
          <div class="form-group">
            <label for="exampleInputPassword1">送料间隔安全比：</label>
            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入比例">
          </div>
          <div class="form-group">
            <label for="exampleInputPassword1">生产计划确定最晚时间(分):</label>
            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入时间">
          </div>
          <div class="form-group">
            <label for="exampleInputPassword1">切换项目号物料提前时间(分)：</label>
            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入时间">
          </div>
          <button type="submit" class="btn btn-success">提交</button>
        </form>
        
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default close_canshushezhi" data-dismiss="modal" >关闭</button>
        
      </div>
    </div>
  </div>
</div>

<script>
$(function(){
    $('#changepara').click(function(){
        $('#canshushezhi').trigger('click');
    })
})
</script>

